package com.wimcorp.magic.behaviour;

import javax.persistence.Entity;

@Entity
public class Hexproof extends Behaviour{

	private static Hexproof instance = new Hexproof();

	protected Hexproof() {
		
	}
	public static Hexproof instance() {
		return instance;
	}
	
	@Override
	public String toString() {
		String description = super.toString();
		if(description == null){
			description = "Hexproof - This creature can not be the target of spells or abilities your opponent controls.";
		}
		return description;
	}
	
	@Override
	public boolean equals(Object obj) {
		return obj instanceof Hexproof;
	}
	
}
